package com.supermarket.manage.common.dto.ucenter.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Faxon
 * @version 1.0
 * @date 2020-03-01 18:07
 **/
@Data
@ApiModel("PermissionResponse:权限数据对象")
public class PermissionResponse implements Serializable {

    private static final long serialVersionUID = 8740230775361638172L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称")
    private String name;

    /**
     * 权限英文名称
     */
    @ApiModelProperty(value = "权限英文名称")
    private String enname;

    /**
     * 授权路径
     */
    @ApiModelProperty(value = "授权路径")
    private String url;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String description;

    /**
     * 是否拥有该权限
     */
    @ApiModelProperty(value = "是否拥有该权限")
    private Boolean isOwn;

}
